package com.autotest.nore.controller;

import com.autotest.nore.domain.Assertion;
import com.autotest.nore.service.SystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@RestController
@RequestMapping("/autotest/system")
public class SystemController {

    @Autowired
    private SystemService systemService;

    @GetMapping("/assertion/list")
    public List<Assertion> getAssertion() {
        return systemService.getAssertion();
    }

}
